MailPoet\API\MP\v1\Subscribers A

Total Complexity 67
Dependencies 24
Dependents 3
Total lines 433
Lines of code 265
Logical lines of code 158
Comment lines 75
Methods 16
Properties 13

Methods 16

Method Rating Maintainability Complexity Lines of code
subscribeToLists()
A
42 15 50
addSubscriber()
A
43 10 48
getAndValidateSegments()
A
44 10 44
buildListingDefinition()
S
57 8 15
findSubscriber()
S
60 5 12
unsubscribe()
S
58 2 16
extractCustomFieldsFromFromSubscriberData()
S
63 3 10
__construct()
S
59 1 15
getSubscribers()
S
65 2 9
_scheduleWelcomeNotification()
S
64 2 10
_sendConfirmationEmail()
S
64 2 10
checkSubscriberAndListParams()
S
70 2 6
checkSubscriberParam()
S
72 2 5
getSubscriber()
S
76 1 4
unsubscribeFromLists()
S
68 1 7
getSubscribersCount()
S
76 1 4